Added sys.setDeferedEvent(eventName, enable) and sys.pollDeferedMessages(eventName)