Fixed class inheritance for collectd