Optional shape param now also applicable to variables with one-sided bounds. Not sure if this'll ever really be useful, but I thought it might.