First successful compile after introducing SerializationContext and DeserializationContext. Still need to work on unit tests.