Adding some hash methods.