Return all errors for each element. Refactor validator class