Default value for STR is no longer stdin as this can be confusing.