Removing globally called functions/variables