Changes required for cookies and history docs, and permissions declaration doc