Removes UserException that is not needed anymore.