Refactored away some url duplication.