Adds the classes for the dropdown.