Adds missing invalid messages for type validators.
Fixes: missing exception
Minor fix: collection class only calls repository save method if there is any modified object