Does it really work for ol.layer.Layer? ol.layer.Layer is not even exported.