Switch spaces to tabs, completed query functions, added children pages collection