remove redundant StubEvent class