/**
  * Returns the element at a given offset. Required by the ArrayAccess interface.
  *
  * @param mixed $offset
  *
  * @return mixed
  */
 public function offsetGet($offset)
 {
     if (is_numeric($offset)) {
         return $this->nth($offset);
     } else {
         return parent::offsetGet($offset);
     }
 }