Add factories for wildcard type names.

@gk5885