* Implementing hooks.