Fixing some hooks I broke while modularizing things.

Signed-off-by: Norberto Lopes <nlopes.ml@gmail.com>