Added some documentation of top level methods