Added support for serialization of class expressions