Use a StringBuffer to hold the code generated by Module