Allow an UrlGenerator to be binded to the Link and Image classes