Hook defined.