The next step is to create a DMN definitions element. Set the target namespace on it and add itto the newly created empty model instance. To simplify this repeating procedure, you can use a helper method like this one: