Some helper classes for generating code.