DT Added

And some docstrings.