Fixed SWIG issue with alert type pure virtual functions.