Fixes menu links in labs and notes. Gets rid of 'pageType'.