Added checked accessors and validation for optional fields.

[Delivers #57443944]