Removed annotation and Java .equals.