Compile messages.