Fix hook syntax.