Add set operation to window.