Makes sample code compilable in Xcode 5.