Generic method hashCode() added. Please overwrite it, if you need better hashes.