Added support for url parameters.