Adding domain classes.