Fixed a malformated error message, updated docs.