what is `distinctTypes` for?