Add exception cleanup to the version history