Consolidating macros