Add asset method to url generator