Added support for routing to instantiated classes