Could you actually make the parameter `$indexes = ['index.html','index.html.var','index.cgi','index.pl','index.php','index.xhtml','index.html'],`

And also add `validate_array($indexes)` in the class body? Thanks.