Removed some routing boilerplate code.