Moved all enums to ProblemContext.