Add comment clarifying new hook function