Attach url and urlRoot directly to the model