Base class for warning categories.