Added initial work on UnitOfWork.