Removing unused equality methods