Change order of inheritance