Added some initial documentation and functions.