Major rework of compilation process.