Binds instance method to routes.