Add generic page directive