Redirecting untyped value factory to generated classes.