A: 

Try using DynamicNodeProvider for that.

maartenba