code: def default_capability(self):
          
          if ('capability' not in self.md and self.capability_name is not None):
              self.md['capability'] = self.capability_name
docs: Set capability name in md.
  
          Every ResourceSync document should have the top-level
          capability attributes.