Add some examples and logging.