Decouple compiling of references.