fix(lib): `proc()` is gone, use unboxed closures