Add classes for API objects.