Refactors event classes inspection