make Descriptor class internal