Fix issue #8, adding an API to get a URL for a component.