Make equals() public.