Add docstrings.
Remove extra linebreak between methods.