Generic Functions

Generic functions for codeDom created. These functions will be utilised
by the MM GUI to automatically generate macro code.