Added reading query parameters.