Added class variable to override the class name in routes. Needs a
better name.