     }
     
     
-    // MARK: NSecureCoding
+    // MARK: - NSecureCoding
     
     
     public func encodeWithCoder(aCoder: NSCoder){
         aCoder.encodeObject(_id, forKey: Default.UID_KEY)
         aCoder.encodeObject(referenceName, forKey: Default.REFERENCE_NAME_KEY)
     }
-
+    
     public required init?(coder decoder: NSCoder){
         super.init()
         _id=String(decoder.decodeObjectOfClass( NSString.self, forKey:Default.UID_KEY)! as NSString? )
         referenceName=String(decoder.decodeObjectOfClass( NSString.self, forKey:Default.REFERENCE_NAME_KEY)! as NSString?)
-        Registry.register(self)//registration on deserialization
     }
     
     public class func supportsSecureCoding() -> Bool{

        let data:NSData=JSerializer.serialize(self)
        return JSerializer.deserialize(data) as! AnyObject
    }
   
    
}


    }
    
    
    // MARK: - Serializable
    
    
    public func serialize()->NSData {
