Change EventBase pointers to references.