title: This decoder will only decode classes that adopt NSSecureCoding
body: <p>From AppDelegate i call this:</p>
  
  <pre><code>-(void)application:(UIApplication *)application handleWatchKitExtensionRequest:(NSDictionary *)userInfo reply:(void (^)(NSDictionary *))reply{
  
      [SavedSearchesHack getAllMatches:^(MatchCollection * _Nonnull matchCollection) {
          reply(@{@"response" : matchCollection});
      }];
  }
  </code></pre>
  
  <p>And then i get this error when calling the reply:</p>
  
  <p>*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'This decoder will only decode classes that adopt NSSecureCoding. Class 'Test.MatchCollection' does not adopt it.'</p>
  
  <pre><code>    public class func openParentApplication(userInfo: [NSObject : AnyObject], 
      reply: (([NSObject : AnyObject], NSError?) -&gt; Void)?) -&gt; Bool
  </code></pre>
  
  <p>As long as i return simply objects like "test" instead of a MatchCollection i get no error.</p>