PEP8 and misc. cleanups
Do not update indexes from the documents app