Fix unnecessary command pattern.