can event helper be a class too