Updated for Xcode 5