 }
 
 extension AnyRealmCollection: NotificationEmitter {
+    public func toAnyCollection() -> AnyRealmCollection<T> {
+        return AnyRealmCollection<ElementType>(self)
+    }
     public typealias ElementType = Element
     public func toArray() -> [Element] {
         return Array(self)

}

extension LinkingObjects: NotificationEmitter {
    public typealias ElementType = Element
    public func toArray() -> [Element] {
        return Array(self)

}

extension Results: NotificationEmitter {
    public func toAnyCollection() -> AnyRealmCollection<T> {
        return AnyRealmCollection<ElementType>(self)
    }
    public typealias ElementType = Element
    public func toArray() -> [Element] {
        return Array(self)
