NSUserDefaults wrapper in Objective-C and Swift.