I know chainit does not like functions at last etc.. But when reading this code
again all I can think is: "This seems very strange code for a simple emitter".