Make forEachRecursive a static function of the control