I am still not convinced that including the emitter lib this way or the use of generics is necessary.