Centralize word formatting to common code