Added missed __applyBeforeChanges.