...plug-ins can implement the following: new types of objects, tools with interaction, data file translators, and newscripting language commands. For new commands, plug-in developers can choose to implement undo and redo, batch mode operation...
http://images.autodesk.com/adsk/files/maya_api_whitepaper.pdf