Added url generator injection