Replace "callable string" with closures
to avoid making the System::shutdown function public.
Fix in phpdoc