change fallbacks to accept a route class