Fix accidentally adding readonly to struct fields