Added possibility to have multiple close classes