Allow query strings to be passed