Handle null messages, and add simple time example