Remove codes using outdated approaches with no replacement. Update the futures implementation to use up-to-date techniques. Remove redundant dependencies.