Optimized for systems without "$all"