Automatically add 'override' modifier when compiling multiple classes that inherit each other.