modified constraints on domain class messageOut