Added domains

Domains is just types without the domain parameter. I think that calling types with an empty string for the domain accomplishes the same thing.