get rid of the generic type warnings.
get rid of generic type warnings.
make write Object.equals() and hashCode() easier.