Add support for custom routes