Fixed reference to $this.