Add comparison for object id.