Validation Class for Objective-C.