Write printable implementations as extensions.