Added warning class to SWIM.