Fixed doctests broken by commit 1080c6cc7da2ab09470bb11705725fb17d7aff35