Add state and trigger printers for arithmetic and enum types