Added some notes and documentation.