constructor
Adds a macro for static initialization.