Added Hook class