Correct use of class endsutta in pi/vi