Remove object.contains() and object.findItem() which were only for arrays (and never in official docs).