Creating a hash class.