Improves logging.