split code into format.hs as well
harden exports
harden imports (-ddump-minimal-imports)