Reduce number of types