Another minor nit: elsewhere in the code we've used `Foo::str()` for this kind of method, which is a little more STL-y.