Removed warnings generated by Xcode6