Load API resources only when needed.