Basic support for window functions.
Adding docs on window functions.