Ensure hooks conform to protocol expected by Test::Step