Added isLegacy