'Shortcut used to get a contained operation by name.
@param name: An operation name.
@type name: str
@return: The named operation.
@rtype: Operation
@raise L{MethodNotFound}: When not found.'

def operation(self, name):

    try:
        return self.operations[name]
    except Exception as e:
        raise MethodNotFound(name)
