Fixed model-client-sample.
Fixed forgotten compilation errors caused by model API change.