Remove all references to removed max_errors parameter. Fixes #346