Switch RouteHandler from interface to class to remove overhead of
InvocationHandler.