added PYEventType to refs