XD-690 Introduce AbstractInstancePersistingDeployer and inherit from it wherever appropriate