Strip off class and struct keyword to fix typedef support.