Added D API
Merge