Add other dependencies.
Add conditional part for API change.