Added docs for D api