Fixed missing JModelLegacy call