Clean up docstrings for window module.