Replaced fail! with panic!.

Also renamed missing_doc to missing_docs.