Improve for inheritance callbacks.