Register repr. type via app.register_representation_type()