Added support for `$entity->errors()`