Allow StyleGenerator to create style inside of a workspace.

Backport of #776.