Fixed variable shadowing in Call.addParams. Fixes #1