Make geometric types generic.