Add some commits and docstrings