Implement the doc descriptor composition