Return the recentMessages from getState method.