Added some more comments and references to the documentation.