Allow for a default value to be set on fields.
Add basic validation.
Slight PEP8 cleanup.