Added format() safety, with performance penalty.
0.3.6 -> 0.3.7