Replace explicit types with <>.