Reimplement page type condition.
Reformat code.
Extract specific translations from core package.
Add custom page selection multi-root.