Make module signature writer aware of structs