Move out section on inheritance to a new file.