Add messages_ready check.