In the compiler notes, factored out two new utilities, compileDupsOfMany() and compileEssenceWithParams().