 
     if removedAt
       def = definition[removedAt] =
+        denyInsert: true
         optional: true
         type: Date
-
-      addC2Def def if c2?
 
       addAfDef def if af?
 

af = Package['aldeed:autoform']
c2 = Package['aldeed:collection2']
ss = Package['aldeed:simple-schema']

defaults =
  removed: 'removed'


    if removedBy
      def = definition[removedBy] =
        denyInsert: true
        optional: true
        regEx: regEx
        type: String

      addAfDef def if af?

    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

