New way to instantiate templates