Support for field default values

Closes #20