Add support for user types to Format