SWIG refactor to avoid the need of artificial alert types enum.