Rough guess at what API calls will look like.