Ongoing cleanup of the hdf5 API.