Precompile in write