We should probably deprecate this function too, now that we have `_.isEqual`. I only see two places where it is being used though.