Fix undeclared selector warnings in Xcode 5