Add property "type" for widget headers.