Dominique, can you publish the source code of your proposal ?
BTW, in the proposal under proposal/sandbox/antlib, there is some provision to add other roles than task or datatype, by adding under the root of the descriptor something like <role name="xyz" class="org.xyz.someinterface"/> then you can have elements starting <xyz name="xxxxxx" class="org.xyz.someimplementation"/>