Improve the example to cover doubles, ints, booleans and strings