Working on the internal message queue implementation.