Update ModelView.java

Added parameters for serialization.