removed deprecated methods from NNModel classes