Removing unused exception classes.