Squashing Swift bugs to make it compatible with xcode 6.1