Removed superfluous code in the hash override.