Corrected function names for hook implementations.