issue: 2481 Adding legacy flag in the function signature. changing the...
issue: 2481 Adding legacy flag in the function signature. changing the mechanism of deciding legacy case
issue: 2481 Adding legacy flag in the function signature. changing the mechanism of deciding legacy case