 import AssetsLibrary
 import CoreLocation
 
-public protocol PhotosProviderAsset {
+func == (lhs: PhotosProviderAsset, rhs: PhotosProviderAsset) -> Bool {
+    return lhs === rhs
+}
+
+public protocol PhotosProviderAsset: class {
     
     var assetMediaType: AssetMediaType { get }
     var pixelWidth: Int { get }

    
    func cancelRequestImage()
    func cancelRequestOriginalImage()
    
}

public enum AssetMediaType: Int {

        static var imageRequestID: Void?
        static var originalImageRequestID: Void?
    }
}

extension ALAsset: PhotosProviderAsset {
