Remove c++ templates
better protocol snippet and fast enumeration.