Bundling, self-containment. DB in documents