Validation now works on embedded documents