BUG-865: remove deprecated EnumPairImpl