Doctests fix