Removes unnecessary command definition.