Do not override shared global variable

Now it is possible to split templates onto parts and load them on demand without worrying about namespacing.