Added conversion for unions