Consolidate same type declarations.