Fix snmp class.