Change the structs into classes. Code getters and setters. The execution
is still OK.