Added backwards compatibility for route