Add some useful decorations to the scope information