Be stricter about the strings we accept.