Remove DataViewMode from methods and add to resource constructor. Generate from latest API metadata