Correctly set returnType for MethodSymbol