Removed code for treating pages as collection items