pass docparser directly to CompositeCommand constructor