Fix #147: Add constructor taking a String