[development] Understanding the hook system