Remove some unnecessary stub code from window_spec