Implement the windows method suggested in #78.