Add support for default param values

Fixes #74