code: def _controller_name(self, objtype):
          
          # would be better to use inflect.pluralize here, but would add a dependency
          if objtype.endswith('y'):
              return objtype[:-1] + 'ies'
  
          if objtype[-1] in 'sx' or objtype[-2:] in ['sh', 'ch']:
              return objtype + 'es'
  
          if objtype.endswith('an'):
              return objtype[:-2] + 'en'
  
          return objtype + 's'
docs: Determines the controller name for the object's type
  
          Args:
              objtype (str): The object type
  
          Returns:
              A string with the controller name