Can we get these values by querying the gallery API?  The problem is that this template identity is going to go away.  If we can't please file a bug to fix this when we update the gallery API.