Some cleaning up

This changes the use of String.create to Bytes.create, compiling with flag -safe-string and avoiding deprecation warnings. A small bug in the documentation was also fixed.