Correctly pass parameters. Fixes #129