Now sending id instead of doc.