Make .of work on scalar values