supporting return type in client stubgenerator