Why the pimpl and the inner class? Would it be possible to wrap the Boost class in a more straightforward way?