hdf5 class improvements