Class index
Added class index to result object, value references classes array