Adding support for interface and abstract class deserialization