   {removed, removedAt, removedBy, restoredAt, restoredBy, systemId} =
     _.defaults options, @options, defaults
 
-  if ss?
-    SimpleSchema = ss.SimpleSchema
-
+  if c2?
     afDefinition = autoform:
       omit: true
 
     addAfDef = (definition) ->
       _.extend definition, afDefinition
-
-    c2Definition =
-      denyInsert: true
-
-    addC2Def = (definition) ->
-      _.extend definition, c2Definition
 
     definition = {}
 


    if removedAt
      def = definition[removedAt] =
        optional: true
        type: Date

      addC2Def def if c2?

      addAfDef def if af?


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

defaults =
  removed: 'removed'
