Return dependencies in API