emitted pools now make use of generic types telling us something about the stored content
fixed generation of subpools
Merge remote-tracking branch 'upstream/master'