Adding support for paths in URL.