Then you can just say setMyClass(simple{}) and do ...
# announcements
p
Then you can just say setMyClass(simple{}) and do the stuff you need to do in the closure