Added functionality to BetMarshal.

Namespace converter functions.