Simple class for PHP 5.3+ to iterate over lazily loaded values.