I would not use `ArrayAccess` for the Hack version as it's not really supported. See the warning in the docs: http://docs.hhvm.com/manual/en/class.hack.arrayaccesstktv.php