Moved ReadEnumeratorBlock and WriteEnumeratorBlock to the template class.