Second round of detemplatization of container internals

Signed-off-by: Frank Mertens <frank@cyblogic.de>