Inline doc cleanup