Remove old DN spacing logic
Add dn.setFormat and fix lint errors