Add save method with error parameter. Workaround for workaround for Objective-C passing nil for error.