interface of datadefinition changed. retrieving the domain has now the same template mechanism that the range already had.