fixes missing method

In Swift 1.1 the method fromRaw does not exist.