Replacing a couple of NSLog calls