Reader class template