 }
 
 // ----------------------------------------------------------------------------
+
+public protocol DatabaseObjectObserverDelegate: class
+{
+// MARK: - Functions
+
+    func databaseObjectObserverDidUpdateObject()
+
+}
+
+// ----------------------------------------------------------------------------


// MARK: Properties

    public var callback: CallbackBlock?

    public var object: T?

        {
            dispatch.async.main { [weak self] in
                // Notify delegate
                self?.delegate?.databaseObjectObserverDidUpdateObject()
                self?.callback?(self?.object)
            }
        }
