What is the best (or most proper) way to hook into OpenLayers in order to take an instance of a TileCache layer and have it append the corresponding WMS query string as the query string for each TileCache tile requested?