Document outline improvements