Cleanup of outdated code and docstring addition.