Making array of type Diff instead of AnyObject