Added checks and transforms in the method api
Added batch checks and transforms