Add classes to the workspace for themes

Fixes #3097