0👍
For anyone looking at this question for an answer, I think you can probably just create your own separate file and class to represent what you want and pass that as an arg. I just want to see if there are any other solutions.
Source:stackexchange.com