Implemented model delete.