Added domains

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