Finding duplicated types

I guess this will get you started

Together with this