Stdlib\ArrayCollection implement first(), last() methods