Add slugs option.
Add *all* option.
Fix handling of directive.flag. When flag is set, None is returned.