Fix a few instances of `this` when it should be `self`.