Bug fix for error format and updating docs.