Yep, there is no better way to define a closure.