Added support for defaults.
Merge pull request #183 from mkuklis/defaults

Added support for defaults.