Fixed bug with __getstate__ of direct view model.

I looked at __dict__ of the direct view model, and I believe there are no more things to add here??