Added some helper classes for making a window.