Make the container implement ArrayAccess