use ClassTag instead of Manifest in Row and its implementation