Use named fields in struct creation

This form is used in some places in code, but not others.