Added support for getting the current hash.