Adding "teams" to the $client->api() function