Implemented model name check.