Add convenience constructor for single-ID object models.