Recast MDUIConstants as MDUISupport.
Add an MDRPISupport class.