Fixed parameter type mismatch in addMethodCall example.
Merge pull request #2180 from linclark/2.0

Fixed parameter type mismatch in addMethodCall example.