Support for using objects in parameters and allow for setting parameters and event through arguments