`read` is never assigned, `err` could be declared with `serialized`.