Changes to design of mysql template.