Allow before* hooks to modify the instance