Add RecentMessages to SPA application.