Fix dependency of new APIs.