Add formatting support for strings and user types