Window almost done. (Transaction handling needed)
Remove unused function.