Added to window class.