Hash function added.