Added hooks for grabbing WMS requests from the map.