Manipulating Teams Programatically

In the v6.5 and v6.7 Developer Guides, there was a page for Manipulating Teams Programatically in a Logic Hook or Job Queue.  I'm going to assume this still works in v7x, but is there a better way?