Framework for the eventCleaner