Brizag:
	- For now, revert the making of function T local.
	Yes, it is very bad that we leak T into global scope, but it is used in XML and making it local breaks stuff
	- Prevent some names from leaking into global scope.
	Thanks for Vladinator for pointing out.
