allowed for closures in curseforge plugin