Continuation of the refactor: refactor the precompile method in the precompiler module to be static and not depend on a specific engine.