Adds max_width and max_height as properties of the WM class