Transform that allows does in-place replacement of global constants, without having to declare them or import them at every occurence