Added support for url, path, and segment