Removed unused exit().