docs: def _api_group_for_type(cls):
      """
      Determine which Kubernetes API group a particular PClass is likely to
      belong with.
  
      This is basically nonsense.  The question being asked is wrong.  An
      abstraction has failed somewhere.  Fixing that will get rid of the need
      for this.
      """
      _groups = {
          (u"v1beta1", u"Deployment"): u"extensions",
          (u"v1beta1", u"DeploymentList"): u"extensions",
          (u"v1beta1", u"ReplicaSet"): u"extensions",
          (u"v1beta1", u"ReplicaSetList"): u"extensions",
      }
      key = (
          cls.apiVersion,
          cls.__name__.rsplit(u".")[-1],
      )
      group = _groups.get(key, None)
      return group