Collapsible: Add classes option

Fixes gh-7690