Updated interfaces of descriptors to support serialization.