Added some logging.
Merge branch 'release/0.2.1'