Update for struct field visibility change

Struct fields are now private by default.