Fixed a warning in GeneralListeners class.