Fixed problem with the name of the type when the typedef is protected.