add hook loader class