Moved event versioning and attachment inside apply-change