Use some of the scheme code for the code generation phase