Added class to simplify logging.