Moved EMBATCH defn to correct section.