Introduce nodes that allow cleaning up Compiler. Also remove unused imports.