What about if someone is importing this class outside the package?

Maybe HTMLCompiler = Compiler after the class definition could assure backwards compatibility ;)