adding or remove multiple classes with attributes.addClass In my page template I can add a single class and remove a single class like this 
&lt;aside{{attributes.addClass(sidebar_first_classes).removeClass('content_classes') }}&gt; But now I want to add a single class and remove two classes, and this does not work
 &lt;asideright{{attributes.addClass(sidebar_second_classes).removeClass('content_classes','sidebar_first_classes') }}&gt;
From the documentation for addClass and removeClass:


  attributes.removeClass()
  
  Removes a class from an Attribute object. Used similarly to addClass.
  Let's say you get the classes variable from somewhere else like a
  preprocess function.
  
  {% set classes = [ 'red', 'green', 'blue' ] %}
  
  &lt;div{{ attributes.addClass(classes).removeClass('green')
  }}&gt;&lt;/div&gt; outputs &lt;div class="red blue"&gt;&lt;/div&gt;.


So either you need to use an array to remove multiple classes or make multiple calls the removeClass and a single class.