Remove unused code

The params dictionary is created, but never used thereafter.