adding the domain classes