Hmm.  I think the problem is that we're in LMS-land, and thus can't use the reverse calls in CMS-land (unless we were to move this into common, or do some optional import from CMS settings if it's there, or something similar...)  @dmitchell , do you know of a better way to do this?