for gallery, the pending callbacks thing is unused and I was planning to drop it.  If none of your clients are relying on it, I'd suggest dropping it here, too.