formatters: fix static initialisation problems