Fix for routes not being loaded.

Resolves failing tests.