Added a symbol macro generator