Replace list of commands by CompositeCommand