Dirty implementation of application of non-global values.