Common modifications. Separated desktop and Web types of UnitOfWork