Adding macro create method.