Hi Lorenzo
If you can want add custom [extension] like input/output variables/parameters, you need implement custom moddle extension described in solution, with moddle extension you can extends properties of any element without manually changing xml on standard way.
Good luck.