remove support for `done` functions