Move command delegation to layout.Delegate abstract.