Added getUrlVars method