stage 4:
- Adding newFromTemplate() to manage template from 0.24 up to 0.27
- cosmetic: keep hashvalue() as local