Adds helpers for POMDPX and lightens xmlbuilder code.