Made function areEqual() private again to avoid exposing it, because it
it will probably change in the future