# File lib/couchrest/more/extended_document.rb, line 35
    def initialize(passed_keys={})
      apply_defaults # defined in CouchRest::Mixins::Properties
      super
      cast_keys      # defined in CouchRest::Mixins::Properties
      unless self['_id'] && self['_rev']
        self['couchrest-type'] = self.class.to_s
      end
    end