Changed ArrayList<String> getTypes to String[] getTypeStrings.