Adds doc notes to type and filter.