I think you'd want to override the type_name() method too. Its return value is used as the prefix for aliases of this type.