Fix both inline and documentation doctests