docs: def apply_defaults(self):
          """Apply schema defaults to this document."""
          self.emit('will_apply_defaults')
          self.schema.apply_defaults(self)
          self.emit('did_apply_defaults')