Adding window stub implementation.
Using private new_window function.