Fix potential NoClassDef exception when not using an economy,