use `this.model` instead in template functions