Expose a #getUrl() method.