Remove not used functions.
There is no need to creare template objects manualy.
The existing templates must not be deleted.