Almost fixed history, deserializing is incorrect. Postponing for now...