Make helper static and fix formatting.