Support for optional parameters when creating actions