Set route and class name on class level