API and dependencies