Adds params argument to modifier.

Closes #5.