Refactor `Args` class.
Fixes an issue when parsing closures inside PHP 5.4 arrays.