When creating a virtual type the corresponding operation's return type
should be set to the name of the virtual type.