Add type attribute for 'transparent' aggregates.
Remove dependency on mars.h