This->hook doesn't exist in foo