Remove dependency on `errors`.