Fix tutorials wrt. changes in the library.