#8372 Fix rolemap registration.