Made sure the right parameters are defined and reconized.

Fixes #8