Overloading rootForType to get nicer url's