Add optional "print" method field to types