Creating record types need to unbox types correctly.