Docs and remove logging