DRY - Call preprocess_common_vars less times