Fix default parameter handling
Merge pull request #105 from tylermenezes/master

Optional parameter support - fixes #104