added missing hashCode() implementation, fixes #34