Fixes documentation for global items