Make formattingCodesParser not static