     let invalidated = process(changes.invalidatedObjects)
     let invalidatedAll = changes.invalidatedAllObjects.filter { $0.entity == observedEntity }
     let change = AnyManagedObjectContextChange<T>(insertedObjects: inserted,
-                                             updatedObjects: updated,
-                                             deletedObjects: deleted,
-                                             refreshedObjects: refreshed,
-                                             invalidatedObjects: invalidated,
-                                             invalidatedAllObjects: invalidatedAll)
+                                                  updatedObjects: updated,
+                                                  deletedObjects: deleted,
+                                                  refreshedObjects: refreshed,
+                                                  invalidatedObjects: invalidated,
+                                                  invalidatedAllObjects: invalidatedAll)
     if !change.isEmpty {
       handler(change, event)
     }

  ///
  /// The observed event.
  public let event: NSManagedObjectContext.ObservableEvents

  /// **CoreDataPlus**
  ///
  /// If `true`, all the changes happening in the subentities will be observed.
  public let observeSubEntities: Bool

  /// **CoreDataPlus**
  ///
  /// The observed entity.

  ///   - notificationCenter: The `NotificationCenter` listening the the `NSManagedObjectContext` notifications.
  ///   - The operation queue to which block should be added. If you pass nil, the block is run synchronously on the posting thread.
  ///   - changeHandler: The completion handler.
  public init(context: NSManagedObjectContext,
              event: NSManagedObjectContext.ObservableEvents,
              observeSubEntities: Bool = false,
              queue: OperationQueue? = nil,
              changeHandler: @escaping (AnyManagedObjectContextChange<T>, NSManagedObjectContext.ObservableEvents) -> Void) {
    self.managedObjectContext = context
    self.event = event
    self.observeSubEntities = observeSubEntities
