Added snippet to create a macro.