Added union for window types
Merge branch 'master' into xep-0223