Implemented "default value" field attribute.

+ added method setDefaults().