Added the remaining hooks.