Fixing arguments for addMethodCall