Added consistent comment headers and updated documentation.