 
     if removedBy
       def = definition[removedBy] =
-        optional: true
-        regEx: regEx
-        type: String
-
-      addC2Def def if c2?
-
-      addAfDef def if af?
-
-    if restoredAt
-      def = definition[restoredAt] =
-        optional: true
-        type: Date
-
-      addAfDef def if af?
-
-      addC2Def def if c2?
-
-    if restoredBy
-      def = definition[restoredBy] =
+        denyInsert: true
         optional: true
         regEx: regEx
         type: String
 
       addAfDef def if af?
 
-      addC2Def def if c2?
+    if restoredAt
+      def = definition[restoredAt] =
+        denyInsert: true
+        optional: true
+        type: Date
+
+      addAfDef def if af?
+
+    if restoredBy
+      def = definition[restoredBy] =
+        denyInsert: true
+        optional: true
+        regEx: regEx
+        type: String
+
+      addAfDef def if af?
 
     @collection.attachSchema new SimpleSchema definition
 

  {removed, removedAt, removedBy, restoredAt, restoredBy, systemId} =
    _.defaults options, @options, defaults

  if ss?
    SimpleSchema = ss.SimpleSchema

    afDefinition = autoform:
      omit: true

    addAfDef = (definition) ->
      _.extend definition, afDefinition

    c2Definition =
      denyInsert: true

    addC2Def = (definition) ->
      _.extend definition, c2Definition

    definition = {}


af = Package['aldeed:autoform']
c2 = Package['aldeed:collection2']
SimpleSchema = Package['aldeed:simple-schema']?.SimpleSchema

defaults =
  removed: 'removed'
