Added sirialize to model