Makes the APIs to add and retrieve routes uniform.
temp