added support for OpenLayers classes