Allow specifying tag states with strings.