Result -> Results

Fixes compilation errors in the generated code for generic methods.