Accepts null value for optional fields.