I am trying to use the method outlined here to create a number of custom data types, and rather than having a line for each I would like to define a hash table of the names