[eclass] Remove unused inherits.