Added support for GUI.add(array)