Minor updates to the h5 layer.