Fix module to work with dclondon(future next branch) branch of OpenLayers.