Added checks to ensure volume is not closed when invoking methods.