Refine and simplify .str directive
Add .str directive spec
Implement StrDirective class