Modified all document apis to use collection 'docs'