Compiler improvements