Shouldn't we call the variables something like getstyleurl, getlegendurl, getmapurl rather than using three times url resetting it for each type of wms request?