Reduces complexity of Base#command private method.