[doctrine] deprecated entities and documents models.