Xcode 6.1 compatibility