Pass route schemes as dependency injection