Added access modifier to subdocument validator