Removed notices by making sure strings are strings.