Add static methods that return base url and url. Useful in templates.