Renamed toDom -> toD to avoid Eclipse highlighting hundreds of TODOs.