changed method visibility in trait to match visibility of other beforeSave methods