Is it possible to generate functions with a "timeout" argument? Please provide an example of an XML file.