Bugfix: removed reference to logger.