Added _inherit_fields option to structs to inherit Fields from base classes.