Instead of passing around strings for the type, I think it's a good idea if we can define all of the different types in one place, and reference them from there.