Creating alert types enum for performance reason.
More SWIG cleanup.