Pass validator to after hooks