 		# @param callback [function] is called with a parameter if a node is accepted or not
 		#
 		setParent: ( peer, callback ) ->
-
 			if @isSuperNode
 				callback?(false)
 				return

				# Else, first connect, then set as parent.
				else
					peer = @connect(superNode.id, ( ) =>
						@setParent(peer, ( accepted ) =>
						if accepted
							@trigger('joined')
						else
							connectParent(superNodes)
						)
					)
			# Query the server for nodes, and pass attempt to connect to supers.
			@server.query('nodes', 'node.structured', ( nodes ) =>
				if nodes?
					superNodes = _(nodes).filter( ( node ) -> node.isSuperNode)
					superNodes = _(superNodes).filter( ( node ) -> node.id is not @id)
					connectParent(superNodes)
			)


			if @isSuperNode
				@server.query('nodes', 'node.structured', ( nodes ) =>
					superNodes = _(nodes).filter( ( node ) -> node.isSuperNode)
					superNodes = _(superNodes).filter( ( node ) -> node.id isnt @id)

					if superNodes.length is 0
						return

					for superNode in superNodes
						( ( superNode ) =>
							if peer = @getPeer(superNode.id)
								@addSibling(peer)
							else
