Add serialization support for Language.