Fixed failing doctests