Swift implementation of Scala wrapper types.