Move array element toggling to generic core method