Refine docs.
Fix error message.