Remove some extraneous uses of gravityTaskInfo array.