patch: remove optional ed dependency.