Migrate records to structs, update deps