Adds host "only" directive (string support only)