support for types without attributes