Added a few logging snippets.