Looks like the 'uisetup' callback is not documented on Wiki. I saw it being used the in the alias extension. Maybe some one familiar with extension writing can help update the documentation.