Added serialization to ModelLevel