Resolved warnings for Xcode 5.1. removed extra methods.