ipdb: change interface callbacks into commit_hooks