 		if let delegate: OneChatDelegate = delegate {
 			sharedInstance.delegate = delegate
 		}
+		OneRoster.sharedInstance.fetchedResultsController()?.delegate = OneRoster.sharedInstance
 		sharedInstance.streamDidConnectCompletionBlock = completion
 	}
 	


public typealias XMPPStreamCompletionHandler = (shouldTrustPeer: Bool?) -> Void
public typealias OneChatAuthCompletionHandler = (stream: XMPPStream, error: DDXMLElement?) -> Void

public protocol OneChatDelegate {
	func oneStream(sender: XMPPStream?, socketDidConnect socket: GCDAsyncSocket?)

	var password: String?
	
	var streamDidConnectCompletionBlock: OneChatAuthCompletionHandler?
	var streamDidConnectCompletionBlock: OneChatConnectCompletionHandler?
	
	// MARK: Singleton
	
