Fixed dfm which was breaking because the grouping function in the method for corpus objects returned a named list, not a named character object.