Added support for document style models.