access to before and after hook results