Add page groups directive.