Use Closure::of() instead of callable type hint
We need type coercion to closures, or we most resort to using
call_user_func() everywhere, which is slooooooooooow.