Domain class and validation support