def cls_names(cls, wanted_cls, registered=True):
    """ Return a list of attributes for all `wanted_cls` attributes in this
        class, where `wanted_cls` is the desired attribute type.
    """
    return [
        fset.name
        for fset in cls_sets(cls, wanted_cls, registered=registered)
    ]