Give parent doc id, instead of uid - closes #10