Fix inherits typo
re-inline statName
Rename hookCallback => wrapCallback