Removes unnecessary logging.