Instead of solely using strings, routes can be passed inside an object.