remove typedefs from template - they are often not needed and introduce only noise