Simplify repr_registry allocation