Fix 'this' in callbacks.