Improved type structure