feat(bootstrap): accept unboxed closures instead of just bare functions
refactor(kde): store unboxed closure instead of just a bare function
refactor(lib): use `const` instead of `static`
refactor(lib): use `where` clauses more often