Simple implementation of emitEpilogue.