Added DObject class.