Update HPM hooks.

Fix compilation error after commit 8faef4ff7ef37f52f24ac6e1e026a418b19db1fe