Adding some more utility functions to the HDF5
layer.