Removed unused function "_add_route"