Prototype: https://github.com/EllisLab/CodeIgniter/pull/2804/files#r8737613