I added this because otherwise it found some files of my gallery that had no classes in them and it through some errors, note this is WIP/Discussion