Revised text inputs to be more Ruby friendly.