def map(classes=CLASSES):
    """
    Registers a result value in the ObjectManager. The optional classes argument specifies
    the list of instances that are subject to mapping.
    """
    def f(func):
        def _map(self, *args, **kwargs):
            om = ObjectManager()
            res = func(self, *args, **kwargs)
            return om.map(res, classes)
        return _map
    return f

    Registers a result value in the ObjectManager. The optional classes argument specifies
    the list of instances that are subject to mapping.
    
recipes/Python/359874_xmlrpc_parameter_mapping_OOstyle/recipe-359874.py