/// <summary>
 /// Filters the specified pages.
 /// </summary>
 /// <param name="pages">The pages.</param>
 public void Filter(PageDataCollection pages)
 {
     var output = new PageDataCollection();
     pages.Where(x => !this.notAllowedPageTypes.Any(k => k == x.PageTypeName)).ToList().ForEach(l => output.Add(l));
     pages.Clear();
     output.ToList().ForEach(x => pages.Add(x));
 }