Removed unused exception classes.