Having a class that can describe anything looks bad. Describing routes and the container has nothing to do with each other. I don't see why that belongs to the same class.