added pages and triggers to types