Decouple compiling and initialization