Add initial plumbing for window functions