Updated DEFT API client (from DEFT core Git)