Factored out common code into Routes base class