Updated for Swift Beta 5