Wireless programming with Xbees in API mode

I've read the guide on lady ada for wireless arduino programming using XBees, and I've gotten that working. However, that method uses transparent mode; I need API mode for the software I've written for the Arduino to work correctly. Is there a way to transfer programs with the XBee in API mode? It's really annoying to have to switch back and forth between API and transparent mode.