made inner API objects public