Removed repository properties from UnitOfWork.