Fixed NullPointerException. Enumerations for StandardVariables could be null (should ideally always have an empty list of Enumerations in StandardVariable data structure instead of null for such variables, but that will be slightly bigger change).