Adjusts variables used in partials