Add method to DSL to encapsulate in array