Changed Domain in new parameters

Changed Domain in new parameters to have the right type reference