Add SimpleArrayQuery class.