Remove getInheritedVariants method since it's not used after refactoring