FinalStrcut dynamically defines methods when a new field is set.