         return false
     }
 
-    func pruneExpired() {
+    public func pruneExpired() {
         let results = realm.objects(CacheObject).filter("expiresIn != 0")
         for cacheObject in results {
             if expired(cacheObject) {

        }
    }

    func removeObjectForKey(key: String) {
        if let cacheObject = realm.objectForPrimaryKey(CacheObject.self, key: key) {
            realm.write { [unowned self] in
                self.realm.delete(cacheObject)

        return nil
    }

    public func setObject(obj: NSSecureCoding, forKey key: String, expiresIn: NSTimeInterval = 0) {
        realm.write { [unowned self] in
            let cacheObject = CacheObject()
            cacheObject.key = key
