Added conversion for unions
Removed all assumptions for parameters when ParserVersion >= 3