Added support for non-mandatory fields. Fixes issue #13.
Merge pull request #14 from noginn/master

Added support for non-mandatory fields