Change inheritance method