Added and updated documentation.