Added implicit routing and default route methods for class-based controllers.