Fixes doctests.