No need for wipeTemplates, it happens anyway automatically, like wipeIndices