clean up __eq__ and __hash__ and parameters