Guards updated to allow binary strings.