Implemented D() and boilerplate methods.
Implemented remaining methods.
removed two unnecessary tests.