Fix 'this' references to 'self'.