Added batch address validate method. Added wrapper code in amsnativeprovider.