Fixed Cocoa example bindings and validation.