Adding a few convenience functions for creating c++ writers