Refactored Compiler.