[#3] Added initial support for event queue.