Add 'emit' code to mesh, still not actually used.