Convert objectids to real documents
Added TODO
Added embed method