Add header comment, add some simple docstrings.