      - returns: A typed Array of managed object subclasses. Not threadsafe.
      */
     public func arrayOf<T: NSManagedObject>(_ objectClass: T.Type,
-        withPredicate predicate: NSPredicate? = nil,
-        sortedBy sortDescriptors: [NSSortDescriptor]? = nil,
-        forContext context: NSManagedObjectContext? = nil) -> [T] {
-            guard let result = self.array(for: objectClass,
-                with: predicate,
-                sortedBy: sortDescriptors,
-                for: context) as? [T] else {
-                    fatalError("Could not cast array of NSManagedObjects into \(String(describing: T.self))")
-            }
-            return result
+                        withPredicate predicate: NSPredicate? = nil,
+                        sortedBy sortDescriptors: [NSSortDescriptor]? = nil,
+                        forContext context: NSManagedObjectContext? = nil) -> [T] {
+        guard let result = self.array(for: objectClass,
+                                      with: predicate,
+                                      sortedBy: sortDescriptors,
+                                      for: context) as? [T] else {
+                                        fatalError("Could not cast array of NSManagedObjects into \(String(describing: T.self))")
+        }
+        return result
     }
 }

//

/**
Swiftier versions of some Vokoder functions that return more exact managed object subclass types.
*/
public extension VOKCoreDataManager {
    
    /**

     - returns: A new instance of the given class
     */
    public func managedObject<T: NSManagedObject>(ofClass objectClass: T.Type,
                              inContext context: NSManagedObjectContext? = nil) -> T {
        guard let result = self.managedObject(of: objectClass, in: context) as? T else {
            fatalError("Could not cast NSManagedObject to \(String(describing: T.self))")
        }
        return result
    }
    
    /**
