code cleanup: simplify DynamicIndentation interface