Added functions to show messages.