Have you registered your class on Event Manager?