Adding domain class