Support to access subdocuments using method calls.