Own class & hash function.