Templatize ol.Collection