Add Text type.
Use attr_accessor instead of instance variables.
Use our own Type constants, instead of LLVM's.