Adding logging.
0.1.4