Commented out NSLog statements to avoid exposing keys in log files.