Red9, makers of the Red9 Studio tools for Maya, have posted an early look at a MetaClass API for Maya whose purpose is to manage and warp data to a Maya MetaNode system. The MetaClass API in the long run could provide a generic method of managing Maya Rig structures as well as marking data without having to write your own API