make @:optional structure fields implicitly nullable (closes #2539)