Adding domain adapter class.