Use record instead of struct.