Make equals recursuve calls use the public API