Add WindowState mixin.