I like the is_a approach. Reads very naturally in the code imho. I merged your latest branch in 6399.
I like the is_a approach. Reads very naturally in the code imho. I merged your latest branch in 6399.