Changed functions for adding WMS with url paramters.