Return ArrayAccess implementation instead of primitive array type