Fix document and doctest.
Fix unsafe Prism