A library to support embedding a version of a first-class managed document