Update calls to use local object $this.