Added Collection::offsetExists().