Removes unneccesary logging.