refactor type-attr-list; remove required \s from beginning type-name