I've always found those class = something.that.is.clearly.portage.specific lines a bit of a bummer, since they're very tied to the internal functioning of portage and not a generic standard for how things should be defined.
Before we add sets to the tree, maybe there should be some discussion about standardizing the set formats.