R: removed unused templates