Fix examples wrt. changes in the library.