Turn a free function into a "mix-in" class to inherit by Gentoo's
package manager classes.