Remove unused var.
Use this._pred rather than an if statement in a couple of places.