Fix type self rather than this.