Added function route to the Router module.