--Properly process objects which are type definitions