Really hacky typedef support.