Fixes #6618: Added Model::addErrors()