Add domain class.