Pass the document's id in the document array itself
Strict standards
Remove php 5.3.3 from CI, it always errors out.