Resolved unused-function warning detected by Xcode 5.1