Moved setting of defaults to Validate.