Modifies profile and base pages.