Added type to pages and type column to pages index