Implement ArrayAccess in LayersInterface