Added protocol command methods to the window class.