NSUserDefaults wrapper in Swift and Objective-C.