Added messages persistency.