Aded url generator trait and backported friendly url generator to implement it.