Fix type errors on directory_service_model