Updated event queue to have callbacks.